<div id="upform">
    <br>  
    <fieldset id="upload">
        <legend>Upload in this directory (Max upload size: <?php echo ini_get('upload_max_filesize') ?>)</legend>
        <form name="f" id="file_upload_form" target="upload_target" enctype="multipart/form-data" method="post" action='doupload.php?to=<?php echo $workingDir ?>' onsubmit="return startUpload();">
        &nbsp;<input name="file" id="file" size="27" type="file" />&nbsp;<br />
        &nbsp;<input type="checkbox" name="ovr" id="overwrite-ifexists" title="Overwrite if exists"  /> Overwrite if file exists <br /><br />
        
        &nbsp;<input type="submit" name="action" value="Upload" />
        &nbsp;<input type="button" value="Close" onclick="closeUploadForm();" /><br>    
        <iframe id="upload_target" name="upload_target" src="#" style="width:0;height:0;border:0px solid #fff;"></iframe>
        
        <p><span id="upResult" ></span></p>   
        </form>   
    </fieldset>  
</div>